const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  // 关闭校验工具
  lintOnSave:false,
  // 让浏览器自动打开
  devServer:{
    host:'192.168.1.106',
    port:8080,
    proxy: {
      '/api': {
        target: 'http://sph-h5-api.atguigu.cn/',
        // pathRewrite: { '^/api': '' },
      },
    },
  }
})
